package com.roadmap.client.common;

import java.util.List;

import com.roadmap.common.BaseEntity;

public interface ISimpleResultSet {
	/**put a instance of BaseEntity*/
	// public void add(BaseEntity entity);

	/**put other entities with its id*/
	public void add(String id, Object entity);

	public Object get(String id);

	public List getAll();

	public boolean hasKey(String id);

	public void cleanup();
	
	public int getSize();
}
